#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort.h"

void Print(int* a, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
}

void TetsQuickSort()
{
	int arr[] = { 23,78,43,5,1,2,67,90,23,31,4,16,94,110,334,2,12 };
	int sz = sizeof(arr) / sizeof(arr[0]);

	Print(arr, sz);
	QuickSort(arr, 0, sz - 1);
	Print(arr, sz);
}

int main()
{
	TetsQuickSort();
	return 0;
}